﻿namespace SjEntityClass
{
    /// <summary>
    /// 进项发票对账主档
    ///</summary>
    [SugarTable("APBB_T")]
    public class ApbbT
    {
        /// <summary>
        /// 企业编号 
        ///</summary>
         [SugarColumn(ColumnName="APBBENT" ,IsPrimaryKey = true   )]
         public string Apbbent { get; set; }
        /// <summary>
        /// 资料所有者 
        ///</summary>
         [SugarColumn(ColumnName="APBBOWNID"    )]
         public string Apbbownid { get; set; }
        /// <summary>
        /// 资料所有部门 
        ///</summary>
         [SugarColumn(ColumnName="APBBOWNDP"    )]
         public string Apbbowndp { get; set; }
        /// <summary>
        /// 资料录入者 
        ///</summary>
         [SugarColumn(ColumnName="APBBCRTID"    )]
         public string Apbbcrtid { get; set; }
        /// <summary>
        /// 资料录入部门 
        ///</summary>
         [SugarColumn(ColumnName="APBBCRTDP"    )]
         public string Apbbcrtdp { get; set; }
        /// <summary>
        /// 资料创建日 
        ///</summary>
         [SugarColumn(ColumnName="APBBCRTDT"    )]
         public DateTime? Apbbcrtdt { get; set; }
        /// <summary>
        /// 资料更改者 
        ///</summary>
         [SugarColumn(ColumnName="APBBMODID"    )]
         public string Apbbmodid { get; set; }
        /// <summary>
        /// 最近更改日 
        ///</summary>
         [SugarColumn(ColumnName="APBBMODDT"    )]
         public DateTime? Apbbmoddt { get; set; }
        /// <summary>
        /// 资料审核者 
        ///</summary>
         [SugarColumn(ColumnName="APBBCNFID"    )]
         public string Apbbcnfid { get; set; }
        /// <summary>
        /// 数据审核日 
        ///</summary>
         [SugarColumn(ColumnName="APBBCNFDT"    )]
         public DateTime? Apbbcnfdt { get; set; }
        /// <summary>
        /// 状态码 
        ///</summary>
         [SugarColumn(ColumnName="APBBSTUS"    )]
         public string Apbbstus { get; set; }
        /// <summary>
        /// 法人 
        ///</summary>
         [SugarColumn(ColumnName="APBBCOMP"    )]
         public string Apbbcomp { get; set; }
        /// <summary>
        /// 对账单号码 
        ///</summary>
         [SugarColumn(ColumnName="APBBDOCNO" ,IsPrimaryKey = true   )]
         public string Apbbdocno { get; set; }
        /// <summary>
        /// 项次 
        ///</summary>
         [SugarColumn(ColumnName="APBBSEQ"    )]
         public long? Apbbseq { get; set; }
        /// <summary>
        /// 单据日期 
        ///</summary>
         [SugarColumn(ColumnName="APBBDOCDT"    )]
         public DateTime? Apbbdocdt { get; set; }
        /// <summary>
        /// 发票来源 
        ///</summary>
         [SugarColumn(ColumnName="APBB001"    )]
         public string Apbb001 { get; set; }
        /// <summary>
        /// 开发票人 
        ///</summary>
         [SugarColumn(ColumnName="APBB002"    )]
         public string Apbb002 { get; set; }
        /// <summary>
        /// 账务中心(业务组织) 
        ///</summary>
         [SugarColumn(ColumnName="APBB004"    )]
         public string Apbb004 { get; set; }
        /// <summary>
        /// 业务部门(登录部门) 
        ///</summary>
         [SugarColumn(ColumnName="APBB006"    )]
         public string Apbb006 { get; set; }
        /// <summary>
        /// 发票类型 
        ///</summary>
         [SugarColumn(ColumnName="APBB008"    )]
         public string Apbb008 { get; set; }
        /// <summary>
        /// 发票代码 
        ///</summary>
         [SugarColumn(ColumnName="APBB009"    )]
         public string Apbb009 { get; set; }
        /// <summary>
        /// 发票号码 
        ///</summary>
         [SugarColumn(ColumnName="APBB010"    )]
         public string Apbb010 { get; set; }
        /// <summary>
        /// 发票日期 
        ///</summary>
         [SugarColumn(ColumnName="APBB011"    )]
         public DateTime? Apbb011 { get; set; }
        /// <summary>
        /// 税种 
        ///</summary>
         [SugarColumn(ColumnName="APBB012"    )]
         public string Apbb012 { get; set; }
        /// <summary>
        /// 含税否 
        ///</summary>
         [SugarColumn(ColumnName="APBB0121"    )]
         public string Apbb0121 { get; set; }
        /// <summary>
        /// 税率 
        ///</summary>
         [SugarColumn(ColumnName="APBB013"    )]
         public decimal? Apbb013 { get; set; }
        /// <summary>
        /// 币种 
        ///</summary>
         [SugarColumn(ColumnName="APBB014"    )]
         public string Apbb014 { get; set; }
        /// <summary>
        /// 汇率 
        ///</summary>
         [SugarColumn(ColumnName="APBB015"    )]
         public decimal? Apbb015 { get; set; }
        /// <summary>
        /// 购货方名称 
        ///</summary>
         [SugarColumn(ColumnName="APBB016"    )]
         public string Apbb016 { get; set; }
        /// <summary>
        /// 购货方税号 
        ///</summary>
         [SugarColumn(ColumnName="APBB017"    )]
         public string Apbb017 { get; set; }
        /// <summary>
        /// 购货方地址 
        ///</summary>
         [SugarColumn(ColumnName="APBB018"    )]
         public string Apbb018 { get; set; }
        /// <summary>
        /// 购货方电话 
        ///</summary>
         [SugarColumn(ColumnName="APBB019"    )]
         public string Apbb019 { get; set; }
        /// <summary>
        /// 购货方开户银行 
        ///</summary>
         [SugarColumn(ColumnName="APBB020"    )]
         public string Apbb020 { get; set; }
        /// <summary>
        /// 购货方账户编码 
        ///</summary>
         [SugarColumn(ColumnName="APBB021"    )]
         public string Apbb021 { get; set; }
        /// <summary>
        /// 销方银行账户编码 
        ///</summary>
         [SugarColumn(ColumnName="APBB022"    )]
         public string Apbb022 { get; set; }
        /// <summary>
        /// 发票原币税前金额 
        ///</summary>
         [SugarColumn(ColumnName="APBB023"    )]
         public decimal? Apbb023 { get; set; }
        /// <summary>
        /// 发票原币税额 
        ///</summary>
         [SugarColumn(ColumnName="APBB024"    )]
         public decimal? Apbb024 { get; set; }
        /// <summary>
        /// 发票原币含税金额 
        ///</summary>
         [SugarColumn(ColumnName="APBB025"    )]
         public decimal? Apbb025 { get; set; }
        /// <summary>
        /// 发票本币税前金额 
        ///</summary>
         [SugarColumn(ColumnName="APBB026"    )]
         public decimal? Apbb026 { get; set; }
        /// <summary>
        /// 发票本币税额 
        ///</summary>
         [SugarColumn(ColumnName="APBB027"    )]
         public decimal? Apbb027 { get; set; }
        /// <summary>
        /// 发票本币含税金额 
        ///</summary>
         [SugarColumn(ColumnName="APBB028"    )]
         public decimal? Apbb028 { get; set; }
        /// <summary>
        /// 销货方名称 
        ///</summary>
         [SugarColumn(ColumnName="APBB029"    )]
         public string Apbb029 { get; set; }
        /// <summary>
        /// 税号 
        ///</summary>
         [SugarColumn(ColumnName="APBB030"    )]
         public string Apbb030 { get; set; }
        /// <summary>
        /// 销货方地址 
        ///</summary>
         [SugarColumn(ColumnName="APBB031"    )]
         public string Apbb031 { get; set; }
        /// <summary>
        /// 销货方电话 
        ///</summary>
         [SugarColumn(ColumnName="APBB032"    )]
         public string Apbb032 { get; set; }
        /// <summary>
        /// 销货方开户银行 
        ///</summary>
         [SugarColumn(ColumnName="APBB033"    )]
         public string Apbb033 { get; set; }
        /// <summary>
        /// 销货方帐号 
        ///</summary>
         [SugarColumn(ColumnName="APBB034"    )]
         public string Apbb034 { get; set; }
        /// <summary>
        /// 申报数量 
        ///</summary>
         [SugarColumn(ColumnName="APBB035"    )]
         public decimal? Apbb035 { get; set; }
        /// <summary>
        /// 异动状态 
        ///</summary>
         [SugarColumn(ColumnName="APBB036"    )]
         public string Apbb036 { get; set; }
        /// <summary>
        /// 可扣抵编号 
        ///</summary>
         [SugarColumn(ColumnName="APBB037"    )]
         public string Apbb037 { get; set; }
        /// <summary>
        /// 作废(注销)理由码 
        ///</summary>
         [SugarColumn(ColumnName="APBB038"    )]
         public string Apbb038 { get; set; }
        /// <summary>
        /// 作废日期 
        ///</summary>
         [SugarColumn(ColumnName="APBB039"    )]
         public DateTime? Apbb039 { get; set; }
        /// <summary>
        /// 作废时间 
        ///</summary>
         [SugarColumn(ColumnName="APBB040"    )]
         public string Apbb040 { get; set; }
        /// <summary>
        /// 作废人员 
        ///</summary>
         [SugarColumn(ColumnName="APBB041"    )]
         public string Apbb041 { get; set; }
        /// <summary>
        /// 项目作废核准文号 
        ///</summary>
         [SugarColumn(ColumnName="APBB042"    )]
         public string Apbb042 { get; set; }
        /// <summary>
        /// 通关方式注记 
        ///</summary>
         [SugarColumn(ColumnName="APBB043"    )]
         public string Apbb043 { get; set; }
        /// <summary>
        /// 打印次数 
        ///</summary>
         [SugarColumn(ColumnName="APBB044"    )]
         public string Apbb044 { get; set; }
        /// <summary>
        /// 支付工具卡号1 
        ///</summary>
         [SugarColumn(ColumnName="APBB045"    )]
         public string Apbb045 { get; set; }
        /// <summary>
        /// 支付工具卡号2 
        ///</summary>
         [SugarColumn(ColumnName="APBB046"    )]
         public string Apbb046 { get; set; }
        /// <summary>
        /// 支付工具卡号3 
        ///</summary>
         [SugarColumn(ColumnName="APBB047"    )]
         public string Apbb047 { get; set; }
        /// <summary>
        /// 通关注记 
        ///</summary>
         [SugarColumn(ColumnName="APBB048"    )]
         public string Apbb048 { get; set; }
        /// <summary>
        /// 备注说明 
        ///</summary>
         [SugarColumn(ColumnName="APBB049"    )]
         public string Apbb049 { get; set; }
        /// <summary>
        /// 发票性质 
        ///</summary>
         [SugarColumn(ColumnName="APBB050"    )]
         public string Apbb050 { get; set; }
        /// <summary>
        /// 采购人员 
        ///</summary>
         [SugarColumn(ColumnName="APBB051"    )]
         public string Apbb051 { get; set; }
        /// <summary>
        /// 采购部门 
        ///</summary>
         [SugarColumn(ColumnName="APBB052"    )]
         public string Apbb052 { get; set; }
        /// <summary>
        /// 人员编号 
        ///</summary>
         [SugarColumn(ColumnName="APBB053"    )]
         public string Apbb053 { get; set; }
        /// <summary>
        /// 付款条件 
        ///</summary>
         [SugarColumn(ColumnName="APBB054"    )]
         public string Apbb054 { get; set; }
        /// <summary>
        /// 发票原币已折金额 
        ///</summary>
         [SugarColumn(ColumnName="APBB107"    )]
         public decimal? Apbb107 { get; set; }
        /// <summary>
        /// 发票原币已折税额 
        ///</summary>
         [SugarColumn(ColumnName="APBB108"    )]
         public decimal? Apbb108 { get; set; }
        /// <summary>
        /// 发票本币已折金额 
        ///</summary>
         [SugarColumn(ColumnName="APBB117"    )]
         public decimal? Apbb117 { get; set; }
        /// <summary>
        /// 发票本币已折税额 
        ///</summary>
         [SugarColumn(ColumnName="APBB118"    )]
         public decimal? Apbb118 { get; set; }
        /// <summary>
        /// 电子发票否 
        ///</summary>
         [SugarColumn(ColumnName="APBB200"    )]
         public string Apbb200 { get; set; }
        /// <summary>
        /// 爱心码 
        ///</summary>
         [SugarColumn(ColumnName="APBB201"    )]
         public string Apbb201 { get; set; }
        /// <summary>
        /// 载具类别号码 
        ///</summary>
         [SugarColumn(ColumnName="APBB202"    )]
         public string Apbb202 { get; set; }
        /// <summary>
        /// 载具显码 ID 
        ///</summary>
         [SugarColumn(ColumnName="APBB203"    )]
         public string Apbb203 { get; set; }
        /// <summary>
        /// 载具隐码 ID 
        ///</summary>
         [SugarColumn(ColumnName="APBB204"    )]
         public string Apbb204 { get; set; }
        /// <summary>
        /// 电子发票导出状态 
        ///</summary>
         [SugarColumn(ColumnName="APBB205"    )]
         public string Apbb205 { get; set; }
        /// <summary>
        /// 电子发票导出序号 
        ///</summary>
         [SugarColumn(ColumnName="APBB206"    )]
         public string Apbb206 { get; set; }
        /// <summary>
        /// 电子发票领取方式 
        ///</summary>
         [SugarColumn(ColumnName="APBB207"    )]
         public string Apbb207 { get; set; }
        /// <summary>
        /// 申报年度 
        ///</summary>
         [SugarColumn(ColumnName="APBB208"    )]
         public string Apbb208 { get; set; }
        /// <summary>
        /// 申报月份 
        ///</summary>
         [SugarColumn(ColumnName="APBB209"    )]
         public string Apbb209 { get; set; }
        /// <summary>
        /// 申报据点 
        ///</summary>
         [SugarColumn(ColumnName="APBB210"    )]
         public string Apbb210 { get; set; }
        /// <summary>
        /// 来源对账单号(aist310) 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD001"    )]
         public string Apbbud001 { get; set; }
        /// <summary>
        /// 未结案不能对账说明
        ///</summary>
        [SugarColumn(ColumnName="APBBUD002"    )]
         public string Apbbud002 { get; set; }
        /// <summary>
        /// SRM对账状态 
        ///</summary>
        [SugarColumn(ColumnName="APBBUD003"    )]
         public string Apbbud003 { get; set; }
        /// <summary>
        /// 自定义字段(文本)004 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD004"    )]
         public string Apbbud004 { get; set; }
        /// <summary>
        /// 自定义字段(文本)005 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD005"    )]
         public string Apbbud005 { get; set; }
        /// <summary>
        /// 自定义字段(文本)006 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD006"    )]
         public string Apbbud006 { get; set; }
        /// <summary>
        /// 自定义字段(文本)007 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD007"    )]
         public string Apbbud007 { get; set; }
        /// <summary>
        /// 自定义字段(文本)008 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD008"    )]
         public string Apbbud008 { get; set; }
        /// <summary>
        /// 自定义字段(文本)009 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD009"    )]
         public string Apbbud009 { get; set; }
        /// <summary>
        /// 自定义字段(文本)010 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD010"    )]
         public string Apbbud010 { get; set; }
        /// <summary>
        /// 自定义字段(数字)011 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD011"    )]
         public decimal? Apbbud011 { get; set; }
        /// <summary>
        /// 自定义字段(数字)012 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD012"    )]
         public decimal? Apbbud012 { get; set; }
        /// <summary>
        /// 自定义字段(数字)013 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD013"    )]
         public decimal? Apbbud013 { get; set; }
        /// <summary>
        /// 自定义字段(数字)014 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD014"    )]
         public decimal? Apbbud014 { get; set; }
        /// <summary>
        /// 自定义字段(数字)015 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD015"    )]
         public decimal? Apbbud015 { get; set; }
        /// <summary>
        /// 自定义字段(数字)016 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD016"    )]
         public decimal? Apbbud016 { get; set; }
        /// <summary>
        /// 自定义字段(数字)017 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD017"    )]
         public decimal? Apbbud017 { get; set; }
        /// <summary>
        /// 自定义字段(数字)018 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD018"    )]
         public decimal? Apbbud018 { get; set; }
        /// <summary>
        /// 自定义字段(数字)019 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD019"    )]
         public decimal? Apbbud019 { get; set; }
        /// <summary>
        /// 自定义字段(数字)020 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD020"    )]
         public decimal? Apbbud020 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)021 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD021"    )]
         public DateTime? Apbbud021 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)022 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD022"    )]
         public DateTime? Apbbud022 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)023 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD023"    )]
         public DateTime? Apbbud023 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)024 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD024"    )]
         public DateTime? Apbbud024 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)025 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD025"    )]
         public DateTime? Apbbud025 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)026 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD026"    )]
         public DateTime? Apbbud026 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)027 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD027"    )]
         public DateTime? Apbbud027 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)028 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD028"    )]
         public DateTime? Apbbud028 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)029 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD029"    )]
         public DateTime? Apbbud029 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)030 
        ///</summary>
         [SugarColumn(ColumnName="APBBUD030"    )]
         public DateTime? Apbbud030 { get; set; }
        /// <summary>
        /// 付款到期日 
        ///</summary>
         [SugarColumn(ColumnName="APBB055"    )]
         public DateTime? Apbb055 { get; set; }
        /// <summary>
        /// for流通 
        ///</summary>
         [SugarColumn(ColumnName="APBB056"    )]
         public string Apbb056 { get; set; }
        /// <summary>
        /// 应付单号 
        ///</summary>
         [SugarColumn(ColumnName="APBB057"    )]
         public string Apbb057 { get; set; }
        /// <summary>
        /// 经营方式 
        ///</summary>
         [SugarColumn(ColumnName="APBB058"    )]
         public string Apbb058 { get; set; }
        /// <summary>
        /// 对账来源 
        ///</summary>
         [SugarColumn(ColumnName="APBB003"    )]
         public string Apbb003 { get; set; }
        /// <summary>
        /// 一次性对象识别码 
        ///</summary>
         [SugarColumn(ColumnName="APBB059"    )]
         public string Apbb059 { get; set; }
        /// <summary>
        /// 差异处理(发票与账款差异) 
        ///</summary>
         [SugarColumn(ColumnName="APBB005"    )]
         public string Apbb005 { get; set; }
        /// <summary>
        /// 差异本币金额 
        ///</summary>
         [SugarColumn(ColumnName="APBB007"    )]
         public decimal? Apbb007 { get; set; }
    }
}
